﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Purchase.Domian.Model
{
    /// <summary>
    /// 客户供应商管理
    /// </summary>
    public class SupplierModel:EntityModel
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        [Key]
        /// <summary>
        /// 主键
        /// </summary>
        public int SupId { get; set; }
        /// <summary>
        /// 编号
        /// </summary>
        public string SupCode { get; set; }
        /// <summary>
        /// 供应商名称
        /// </summary>
        public string SupName { get; set; }
        /// <summary>
        /// 供应商等级
        /// </summary>
        public int SupGradeId { get; set; }
        /// <summary>
        /// 供应商联系人
        /// </summary>
        public string SupPhoneName { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int SupState { get; set; }
        /// <summary>
        /// 联系方式
        /// </summary>
        public string SupPhone { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string SupRemark { get; set; }


    }
}
